@import "./transition";
@import "./element-plus";
@import "./sidebar";
@import "./dark";
@import "./common";
@import "./mixin";

/* 自定义全局 CssVar */
:root {
  /* 左侧菜单展开、收起动画时长 */
  --pure-transition-duration: 0.3s;
}

/* 灰色模式 */
.html-grey {
  filter: grayscale(100%);
}

/* 色弱模式 */
.html-weakness {
  filter: invert(80%);
}

/* 重置 vxe-table 样式 */
.vxe-button.type--button.theme--primary:hover,
.vxe-pager .vxe-pager--num-btn:not(.is--disabled).is--active {
  color: #fff !important;
}

/*
*设置全局样式
*/
.container-content {
  margin: 12px;
  overflow: auto;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.flex1 {
  display: flex;
  flex-direction: column;
  flex: 1;

  .el-card__body {
    flex: 1;
    overflow: hidden;
  }
}

.flex-shrink {
  flex-shrink: 0;
}

.flex-row-1 {
  display: flex;
  flex-direction: row;
  flex: 1;
  min-width: 20px;
}

.flex-column-1 {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 20px;
}

